package com.sl.au.entity;

import javax.persistence.*;

/** 
 * 售后计划中设备的维护项目实体表
 */
@Entity
@Table(name="sl_crm_maintainItemDevice")
public class MaintainItemDevice extends Root{

	/** 合同ID */
	@Column(name="sContractID")
	private String contractID;
	
	/** 设备ID */
	@Column(name="sDeviceID")
	private String deviceID;

	/**出厂编号(设备名称)*/
	@Column(name="dLeaveFactoryCode")
	private String leaveFactoryCode;
	
	/**开始时间(第一个计划的开始时间为出厂日期)*/
	@Column(name="dStartDate")
	private java.util.Date startDate;
	
	/** 维护周期（天） */
	@Column(name="nMaintainPeriod")
	private int maintainPeriod;
	
	/** 维护项目 */
	@Column(name="sMaintainProject")
	private String maintainProject;
	
	/** 注意事项 */
	@Column(name="sAnnouncement")
	private String announcement;
	
	/** 备注 */
	@Column(name="sMemo")
	private String memo;

	public String getContractID() {
		return contractID;
	}

	public void setContractID(String contractID) {
		this.contractID = contractID;
	}

	public String getDeviceID() {
		return deviceID;
	}

	public void setDeviceID(String deviceID) {
		this.deviceID = deviceID;
	}

	public String getLeaveFactoryCode() {
		return leaveFactoryCode;
	}

	public void setLeaveFactoryCode(String leaveFactoryCode) {
		this.leaveFactoryCode = leaveFactoryCode;
	}

	public java.util.Date getStartDate() {
		return startDate;
	}

	public void setStartDate(java.util.Date startDate) {
		this.startDate = startDate;
	}

	public int getMaintainPeriod() {
		return maintainPeriod;
	}

	public void setMaintainPeriod(int maintainPeriod) {
		this.maintainPeriod = maintainPeriod;
	}

	public String getMaintainProject() {
		return maintainProject;
	}

	public void setMaintainProject(String maintainProject) {
		this.maintainProject = maintainProject;
	}

	public String getAnnouncement() {
		return announcement;
	}

	public void setAnnouncement(String announcement) {
		this.announcement = announcement;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	
}
	
	

